#ifndef _GFS_USE_
#define _GFS_USE_

//#include "gfs.h"
#include "gfs_api.h"

#ifdef __cplusplus
extern "C" {
#endif

	extern int api_TremParInit(void* pData, int size);
	extern int api_TremParRead(void* pData);
	extern int api_TremParWrite(void* pData);


	extern int api_RecordInit(void* pData, int size);
	extern int api_RecordRead(void* pData);
	extern int api_RecordWrite(void* pData);


	extern int api_fileInit(void);
	extern int api_fileFomat(const char* pKey);

	/*
	gFILE pFd_gfs=NULL;
	pFd_gfs=gfs_open("pathname",GFS_O_RDWR);
	ret=gfs_write(pFd_gfs,(u8*)pInPar->pStr,pInPar->Len);
	ret=gfs_read(pFd_gfs,(u8*)pData,pInPar->Len);
	ret = gfs_seek(pFd_gfs, pInPar->uData, pInPar->pNext->uData);
	ret=gfs_close(pFd_gfs);
	ret=gfs_remove(pInPar->pStr);
	*/
#ifdef __cplusplus
}
#endif

#endif
